package com.woniu.springboot.product2.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhaolei
 * @date 2021/5/12 - 1:07
 */
@RestController
@RequestMapping(value = "/orders")
public class OrderController {
    @GetMapping(value = "/getOrders")
    public String getOrders(){
        System.out.println("调用提供者中的getOrders业务");
        return "ok";
    }
}
